package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 水浒叶子牌 斗牌记录
 * @Author cwq
 * @Data 2022/1/4 17:04
 */
@FieldTypeAnnotation(tableName = "t_l_activity_shuihuyezicard_get_record")
public class LogShuiHuYeZiCardGetCard {
    @FieldTypeAnnotation(desc = "活动id",update = true,select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id",update = true,select = true)
    private long userId;
    @FieldTypeAnnotation(desc = "抽卡类型（0一张 1多张）")
    private int type;
    @FieldTypeAnnotation(desc = "卡牌id")
    private int cardId;
    @FieldTypeAnnotation(desc = "原来等级")
    private int oldCardLevel;
    @FieldTypeAnnotation(desc = "原来品质 0 普通 1 金卡")
    private int oldQuality;
    @FieldTypeAnnotation(desc = "现在等级")
    private int newCardLevel;
    @FieldTypeAnnotation(desc = "现在品质 0 普通 1 金卡")
    private int newQuality;
    @FieldTypeAnnotation(desc = "当前数量")
    private int num;
    @FieldTypeAnnotation(desc = "获得的积分")
    private int integral;
    @FieldTypeAnnotation(desc = "抽卡时间 ms")
    private long time;

    public LogShuiHuYeZiCardGetCard(int activityId, long userId, int type, int cardId, int oldCardLevel, int oldQuality, int newCardLevel, int newQuality,int num, int integral, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.cardId = cardId;
        this.oldCardLevel = oldCardLevel;
        this.oldQuality = oldQuality;
        this.newCardLevel = newCardLevel;
        this.newQuality = newQuality;
        this.num = num;
        this.integral = integral;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public int getOldCardLevel() {
        return oldCardLevel;
    }

    public void setOldCardLevel(int oldCardLevel) {
        this.oldCardLevel = oldCardLevel;
    }

    public int getOldQuality() {
        return oldQuality;
    }

    public void setOldQuality(int oldQuality) {
        this.oldQuality = oldQuality;
    }

    public int getNewCardLevel() {
        return newCardLevel;
    }

    public void setNewCardLevel(int newCardLevel) {
        this.newCardLevel = newCardLevel;
    }

    public int getNewQuality() {
        return newQuality;
    }

    public void setNewQuality(int newQuality) {
        this.newQuality = newQuality;
    }


    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
